.container-fluid {
    padding: 0rem 1.25rem;
}

.container-p-y:not([class^=pb-]):not([class*=" pb-"]) {
    padding-bottom: 1.625rem !important;
}

.container-p-y:not([class^=pt-]):not([class*=" pt-"]) {
    padding-top: 1.625rem !important;
}

.page-wrapper {
    -ms-flex-align: center;
    align-items: center;
    background-color: #e9ecef;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100vh;
    -ms-flex-pack: center;
    justify-content: center
}

.otp-field {
    flex-direction: row;
    column-gap: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.otp-field input {
    height: 45px;
    width: 42px;
    border-radius: 6px;
    outline: none;
    font-size: 1.125rem;
    text-align: center;
    border: 1px solid #ddd;
}

.otp-field input:focus {
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
}

.otp-field input::-webkit-inner-spin-button,
.otp-field input::-webkit-outer-spin-button {
    display: none;
}

.resend {
    font-size: 12px;
}

.required:after {
    content: " *";
    color: red;
}

.bootstrap-switch {
    height: 38px;

    .bootstrap-switch-container {
        height: 38px;

        span {
            height: inherit;
        }
    }
}

.switch-form-group {
    display: grid;
}

#language-dropdown,
.image-column,
.w-10 {
    width: 10%;
}

.table-image {

    td,
    th {
        vertical-align: middle;
    }
}


.w-5 {
    width: 5%;
}

.w-20 {
    width: 20%;
}

.w-30 {
    width: 30%;
}

.w-40 {
    width: 40%;
}

.form-control.is-invalid {
    border-color: #dc3545 !important;
}

.sub-header {
    margin-bottom: 0.5rem;

    .title {
        font-size: 1.2rem;
    }
}

/* Quill Editor Start */

.ql-editor {
    padding: 0px !important;
    white-space: normal !important;
}

.ql-container {
    .ql-editor {
        padding: 12px 15px !important;
        white-space: normal !important;
    }
}

.disabled-quill .ql-editor {
    background-color: #f2f2f2;
    color: #808080;
    cursor: not-allowed;
}

.form-group .invalid-feedback {
    display: block;
}

.ql-snow .ql-tooltip {
    left: 0px !important;
    top: 0px !important;
}

/* Quill Editor End */

.banner-details {
    margin: 0rem 1rem;
}

hr {
    margin: 0.5rem 0rem;
    width: 100%;
}

.dropzone {
    width: 100%;
    position: relative;
    padding: 1.5rem;
    cursor: pointer;
    border: 2px dashed #ccccccf8;
    border-radius: .5rem;

    .btn-outline-primary {
        color: #0F218F;
        border-color: #0F218F;
    }

    .btn-outline-primary:hover,
    .btn-outline-primary:active,
    .btn-outline-primary:not(:disabled):not(.disabled):active {
        color: #fff;
        border-color: #0F218F;
        background-color: #0F218F;
    }
}

.dz-message {
    margin: 3rem 0;
    font-weight: 500;
    text-align: center;
    color: #433c50;
    font-size: 1.5rem;
}

.avatar {
    position: relative;
    width: 2.5rem;
    height: 2.5rem;
    cursor: pointer;
}

.avatar-details {
    flex: 0 0 calc(100% - 2.5rem - 1rem);
    max-width: calc(100% - 2.5rem - 1rem);
}

.avatar img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: top;
}

/* Custom Style for tabs start */
#vert-tabs-tab {
    .nav-link {
        color: #000;
        font-weight: 500;
        border-top-left-radius: 0.375rem;
        border-bottom-left-radius: 0.375rem;
        text-align: left;
        justify-content: start;
    }

    .nav-link.active,
    .nav-link.active:hover,
    .nav-link.active:focus {
        background-color: #0F218F;
        color: #fff;
    }

    .nav-link:not(.active):hover {
        border-bottom: none;
        padding-bottom: .5435rem;
        background-color: #5c73ee21;
    }

    .nav-link.active {
        box-shadow: 0 .125rem .25rem 0 rgba(46, 38, 61, .16);
    }
}

/* Custom Style for tabs end */

/* information popover start */
.icon-container {
    position: relative;
    display: inline-block;

    .info {
        z-index: 999999;
        width: max-content;
        display: none;
        position: absolute;
        background-color: #F5F6FB;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        top: calc(100% - 10px);
        /* Adjust the spacing as needed */
        right: 0;
    }
}

/* information popover end */

.customer-button,
.add-product {
    .gap-4 {
        gap: 1rem !important;

        .btn-outline-secondary,
        .btn-outline-secondary:active {
            color: #8a8d93;
            border-color: #8a8d93;
            background: rgba(0, 0, 0, 0);
        }

        .btn-outline-primary,
        .btn-outline-primary:active {
            color: #0F218F;
            border-color: #0F218F;
            background: rgba(0, 0, 0, 0);
        }

        .btn-primary,
        .btn-primary:active {
            color: #fff;
            background-color: #0F218F;
            border-color: #0F218F;
        }
    }
}

.form-switch {
    padding-left: 2.667em;
}

.form-check {
    display: block;
    min-height: 1.3754296875rem;
    padding-left: 1.8em;
    margin-bottom: .5rem;
    position: relative;
}


.upload_box {

    .inputFile,
    .inputImage {
        width: .1px;
        height: .1px;
        opacity: 0;
        overflow: hidden;
        position: absolute;
        z-index: -1;
    }

    .btn {
        display: inline-block;
        font-weight: 600;
        color: #fff;
        text-align: center;
        min-width: 116px;
        padding: 5px;
        transition: all .3s ease;
        cursor: pointer;
        border: 2px solid;
        background-color: #0F218F;
        border-color: #0F218F;
        border-radius: 10px;
        line-height: 26px;
        font-size: 14px;

        p {
            margin-bottom: 0%;
        }

        &:hover {
            background-color: unset;
            color: #0F218F;
            transition: all .3s ease;
        }

        .btn-box {
            margin-bottom: 10px;
        }
    }
}

.custom-upload {
    .img-wrap {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -10px;
    }

    .img-box {
        width: 200px;
    }

    .img-box,
    .file-box {
        padding: 0 10px;
        margin-bottom: 12px;
    }

    .file-close,
    .img-close {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        background-color: rgba(0, 0, 0, 0.5);
        position: absolute;
        top: 10px;
        right: 10px;
        text-align: center;
        line-height: 24px;
        z-index: 1;
        cursor: pointer;
        transform: rotate(45deg);

        &:after {
            content: '\2716';
            font-size: 14px;
            color: white;
        }
    }
}

.img-bg {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    padding-bottom: 100%;
}

.open-confirmation-modal,
.active-toggle,
.make-product-featured,
.product-image-thumb {
    cursor: pointer;
}

.fileLabel {
    width: 120px;
    border: 2px dashed grey;
    border-radius: 5px;
    display: block;
    padding: 5px;
    transition: border 300ms ease;
    cursor: pointer;
    text-align: center;
    margin: 0;
}

.fileLabel i {
    display: block;
    font-size: 30px;
    padding-bottom: 5px;
}

.fileLabel i,
.fileLabel .title {
    color: grey;
    transition: 200ms color;
}

.fileLabel:hover {
    border: 2px solid #0F218F;
}

.fileLabel:hover i,
.fileLabel:hover .title {
    color: #0F218F;
}

#FileInput {
    display: none;
}

.product-image-thumb.active {
    border-color: #0F218F !important;
}

.carousel-indicators [data-bs-target] {
    box-sizing: content-box;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    width: 30px;
    height: 3px;
    padding: 0;
    margin-right: 3px;
    margin-left: 3px;
    text-indent: -999px;
    cursor: pointer;
    background-color: #fff;
    background-clip: padding-box;
    border: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    opacity: 0.5;
    transition: opacity 0.6s ease;
}


#product-image-error {
    .invalid-feedback {
        font-size: 100%;
    }
}

.pdf {
    .fileLabel {
        border: 2px solid red;

        i,
        .title {
            color: red;
        }
    }
}

.xlsx,
.xls {
    .fileLabel {
        border: 2px solid green;

        i,
        .title {
            color: green;
        }
    }
}

.docx,
.word,
.doc {
    .fileLabel {
        border: 2px solid #2388df;

        i,
        .title {
            color: #2388df;
        }
    }
}

@media (min-width: 992px) {

    .container,
    .container-fluid,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        padding-left: 1.625rem;
        padding-right: 1.625rem;
    }
}

.bg-label-primary {
    color: #f4c859 !important;
    padding: 0 !important;
}

.dashboard-icon {
    font-size: 1.55rem;
}

#dashboard {
    .leading-text {
        font-size: 1.1rem;
        color: #0F218F;
        font-weight: 600;
    }

    .main-text {
        font-size: 2.5rem;
        color: #333333;
        font-weight: 600;
    }

    .extra-text {
        font-size: 0.9rem;
        color: #333333;
        font-weight: 600;
    }
}

.custom-list-toggle {
    input[type="checkbox"] {
        position: relative;
        width: 40px;
        height: 20px;
        appearance: none;
        -webkit-appearance: none;
        border-radius: 20px;
        outline: none;
        transition: .4s;
        box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.2);
        cursor: pointer;
    }

    input:checked[type="checkbox"] {
        background: #f4c859;
        box-shadow: none;
    }

    input[type="checkbox"]::before {
        z-index: 2;
        position: absolute;
        content: "";
        left: 0;
        width: 20px;
        height: 20px;
        background: #8E9AA0;
        border-radius: 50%;
        transform: scale(1.1);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        transition: .4s;
    }

    input:checked[type="checkbox"]::before {
        left: 20px;
        background: #FFFFFF;
    }

    .toggle {
        position: relative;
        display: inline;
    }
}

.modal.right .modal-dialog {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    width: 35rem;
}

.modal.left .modal-content,
.modal.right .modal-content {
    min-height: 100vh;
    border: 0;
}

/* Keyframe animation for fade-in from the left */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Keyframe animation for fade-out to the left */
@keyframes fadeOutLeft {
    from {
        opacity: 1;
        transform: translateX(20px);
    }

    to {
        opacity: 0;
        transform: translateX(0);
    }
}

.collapse {
    animation: fadeOutLeft 1s forwards;
}

/* Custom collapse transition */
.collapse.show {
    animation: fadeInLeft 1s forwards;
}

textarea:disabled {
    background-color: #e9ecef !important;
}

.card-body div.dataTables_wrapper .row:last-child {
    align-items: center;
}

.card-body div.dataTables_wrapper div.dataTables_paginate ul.pagination {
    margin: 20px 0 0;
}

.swal2-popup.swal2-toast.my-swal-popup.swal2-show {
    display: flex !important;
    align-items: center !important;
}

[class*=icheck-]>input:first-child+input[type=hidden]+label::before,
[class*=icheck-]>input:first-child+label::before {
    height: 17px;
    width: 17px;
    top: 50%;
    transform: translateY(-50%);
}

[class*=icheck-]>input:first-child:checked+input[type=hidden]+label::after,
[class*=icheck-]>input:first-child:checked+label::after {
    width: 6px;
    height: 10px;
    transform: translate(5.75px, 3.5px) rotate(45deg);
    -ms-transform: translate(5.75px, 3.5px) rotate(45deg);
}

small,
.small {
    font-size: 0.8125rem;
}

.badge {
    --bs-badge-padding-x: 0.9231em;
    --bs-badge-padding-y: 0.236em;
    --bs-badge-font-size: 0.875em;
    --bs-badge-font-weight: 400;
    --bs-badge-color: #fff;
    --bs-badge-border-radius: 0.1875rem;
    display: inline-block;
    padding: var(--bs-badge-padding-y) var(--bs-badge-padding-x);
    font-size: var(--bs-badge-font-size);
    font-weight: var(--bs-badge-font-weight);
    line-height: 1.375;
    color: var(--bs-badge-color);
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: var(--bs-badge-border-radius);
}

.confirmation-pending,
.approval-pending {
    background-color: #fbe8db !important;
    color: #fe6a00 !important;
}

.replacement-initiated,
.approved {
    background-color: #daf3ff !important;
    color: #16b1ff !important;
}

.completed,
.replacement-completed,
.cod-confirmed,
.payment-received {
    background-color: #e4f7d6 !important;
    color: #56ca00 !important;
}

.replacement-rejected,
.rejected,
.payment-rejected {
    background-color: #ffdfe0 !important;
    color: #ff4c51 !important;
}

.cancelled,
.dispatched,
.payment-pending {
    background-color: #fff3d6 !important;
    color: #ffb400 !important;
}

.in-progress,
.replacement-processing,
.payment-completed,
.out-for-delivery,
.pickup-initiated,
.order-processing {
    background-color: #ede4ff !important;
    color: #8c57ff !important;
}

.rounded-pill {
    border-radius: 50rem !important;
}

.rounded-2 {
    border-radius: .25rem !important;
}

.product-image-wrapper {
    .avatar {
        position: relative;
        width: 3rem;
        height: 3rem;
        cursor: pointer;
    }

    .rounded-2 {
        border-radius: .25rem !important;
    }

    .order-in-progress {
        background-color: #ecedee !important;
        color: #8a8d93 !important;
    }

    .avatar img {
        width: 100%;
        height: 100%;
        vertical-align: middle;
    }
}

.orderliness {
    position: relative;
    height: 100%;
    width: 100%;
    padding: 0;
    list-style: none;
    padding-left: .5rem;

    ul {
        margin-top: 0;
    }

    .border-primary {
        border-color: #F4C859 !important;
    }

    .orderliness-item {
        border-left: 1px solid #e6e5e8;
        position: relative;
        padding-left: 1.4rem;

        .orderliness-point {
            position: absolute;
            left: -0.38rem;
            top: 0.25rem;
            z-index: 2;
            display: block;
            height: .75rem;
            width: .75rem;
            border-radius: 50%;
            background-color: #f8b304;
            box-shadow: 0 0 0 10px #fff;
        }

    }

    .orderliness-point-primary {
        background-color: #F4C859 !important;
        outline: 3px solid rgba(140, 87, 255, .12);
    }

    .orderliness-item.orderliness-item-transparent .orderliness-event {
        padding-left: 0;
        top: -0.9rem;
        background-color: rgba(0, 0, 0, 0);
    }

}

h6,
.h6 {
    line-height: 1.375rem;
}

.indicator-icon {
    font-size: 10px;
}

.payment-status {
    &.failed {
        color: #dc3545;
    }

    &.pending {
        color: #ffb400;
    }

    &.paid {
        color: #56ca00;
    }
}

.text-warning {
    color: #ffb400 !important;
}

.profile-pic-thumbnail {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
}

.text-black {
    color: #000 !important;
}

.direct-chat-messages {
    max-height: 25rem;
}

.loading-overlay {
    display: none;
    background: rgba(255, 255, 255, 0.7);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    z-index: 9998;
    align-items: center;
    justify-content: center;
}

.loading-overlay.is-active {
    display: flex;
}

#user-service-list_wrapper,
#order-list_wrapper {
    margin-top: 3rem;
}

#warranty-details-modal {
    height: 20rem;
    overflow-y: scroll;
}

.table-wrapper {
    width: 100%;
    /* overflow-x: auto; */
}

.image-preview-table {
    .image-preview {
        width: 7.5rem;
        border-radius: 20%;
    }
}

.new-defect {
    color: #ffb400 !important;
}

.resolved-defect {
    color: #8c57ff !important;
}

.verified-defect {
    color: #56ca00 !important;
}